<template>
  <div class="otherInfo">
    <div class="videoTitle">
      <div class="tag">{{ value.type==4 ? '创意视频' : '创意海报' }}</div>
      <div class="title">{{value.title}}</div>
    </div>
    <div class="videoInfo">
      <div class="tag">· {{value.procucer | cover}}</div>
      <div class="title">
        <span class="iconfont icon-chakan"></span>
        <span>{{value.hit}}</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
      filters: {
    cover(posters) {
      if (!posters) return "";
      return posters.split(",")[0];
    }
  },
  props: {
    value: {
      type: Object,
      default() {
        return {}
      }
    }
  }
}
</script>

<style lang="less">
.otherInfo{
    width: 100%;
.videoTitle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding:13px 5px;
  border-bottom: 1px solid #979797;
  .tag {
    border: 1px solid #e44f50;
    font-size: 12px;
    padding: 3px 5px;
    border-radius: 10px;
    color: #e44f50;
  }
  .title {
      width: 70%;
      font-size: 14px;
      display: block;
      overflow: hidden;
      align-items: center;
      text-overflow: ellipsis;
      white-space: nowrap;
  }
}
.videoInfo {
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 10px;
 }
}

</style>